package com.fhj.movie.fragment;

import java.util.HashMap;
import java.util.Map;

import com.fhj.movie.activity.HyySettingActivity;
import com.fhj.movie_fhj_01.R;
import com.fhj.movie_main.MainActivity;
import com.fhj.utils.SharedPreferencesUtils;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.widget.Button;

public class HyyWelcomeFragment3 extends Fragment {
	private Button button;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
	}
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View view=inflater.inflate(R.layout.fragment_welcome3, container,false);
		button=(Button)view.findViewById(R.id.welcome_tiyan);
		button.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent=new Intent(getActivity(),HyySettingActivity.class);
				startActivity(intent);
				getActivity().finish();
			}
		});
		return view;
	}
	

}
